package com.zjw.contorller;

import com.zjw.domain.vo.ResponseResult;
import com.zjw.service.NoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/notice")
public class NoticeController {

    @Autowired
    private NoticeService noticeService;

    @GetMapping
    public ResponseResult getNoticeList(){
        return noticeService.getNoticeList();
    }

}
